home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / PowerPlant / LDelayedTask / UDeleteTaskQueue.h < prev   
Encoding:
Text File  |  1995-08-28  |  1.4 KB  |  43 lines  |  [TEXT/CWIE]

  1. // ===========================================================================
  2. //    UDeleteTaskQueue.cp                © 1995, Éric Forget. All rights reserved.
  3. // ===========================================================================
  4. //    
  5. //    ************************************************************************
  6. //    *                                                                      *
  7. //    *    Before using this code you should read the "License Agreement"     *
  8. //    *    document and agree with it.                                        *
  9. //    *                                                                      *
  10. //    ************************************************************************
  11. //
  12. //    Instruction and usage notes are in the UDeleteTaskQueue.cp file.
  13. //
  14. // ---------------------------------------------------------------------------
  15.  
  16.  
  17. #pragma once
  18.  
  19. #include <PP_Prefix.h>
  20.  
  21.  
  22. class    LDynamicArray;
  23. class    LTask;
  24.  
  25.  
  26. // ---------------------------------------------------------------------------
  27. //        • Class UDeleteTaskQueue
  28. // ---------------------------------------------------------------------------
  29.  
  30. class    UDeleteTaskQueue    : LPeriodical {
  31. public:
  32.                                 UDeleteTaskQueue();
  33.     virtual                        ~UDeleteTaskQueue();
  34.     
  35.     static    void                AddTask(LTask *inTask);
  36.     
  37.     virtual    void                SpendTime(const EventRecord &inMacEvent);
  38.  
  39. protected:
  40.     static    LDynamicArray        *sTaskQ;
  41.     static    UDeleteTaskQueue    *sDeleteTaskQueue;
  42. };
  43.